local L = VisualThemes:GetLocaleTable()

VisualThemes:RegisterAddOn(L["Talent Frame"], "Blizzard_TalentUI", 0, "TalentFrame")
VisualThemes:RegisterAddOn(L["Auction Frames"], "Blizzard_AuctionUI", 3, "AuctionFrame", "AuctionDressUpFrame")
VisualThemes:RegisterAddOn(L["PVP Frames"], "Blizzard_BattlefieldMinimap", 0, "BattlefieldMinimap") --untested?
VisualThemes:RegisterAddOn(L["Craft Frames"], "Blizzard_CraftUI", 0, "CraftFrame")
VisualThemes:RegisterAddOn(L["Help Frames"], "Blizzard_GMSurveyUI", 0, "GMSurveyFrame")
VisualThemes:RegisterAddOn(L["Inspect Frame"], "Blizzard_InspectUI", 1, "InspectFrame")
VisualThemes:RegisterAddOn(L["Socketing Frame"], "Blizzard_ItemSocketingUI", 0, "ItemSocketingFrame")
VisualThemes:RegisterAddOn(L["Craft Frames"], "Blizzard_TradeSkillUI", 0, "TradeSkillFrame")
VisualThemes:RegisterAddOn(L["Merchant Frames"], "Blizzard_TrainerUI", 0, "ClassTrainerFrame")



local max = 1
hooksecurefunc("UIDropDownMenu_CreateFrames", function()
	for i = max, UIDROPDOWNMENU_MAXLEVELS do
		VisualThemes:RegisterFrames(L["Dropdown Menus"], 0, "DropDownList"..i)
		max = i
	end
end)